#!/usr/bin/env python
# -*- coding: utf-8 -*-
from flask_migrate import Migrate
from .db_plugin import db  # 依赖 db 实例

migrate = Migrate()

def init_migrate(app):
    """初始化 Flask-Migrate"""
    migrate.init_app(app, db)